//
//  CJPRootController.swift
//  CJPack
//
//  Created by 陈警卫 on 2023-04-20.
//

import UIKit

class CJPRootController: CJNavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }
    
    class func root(vc: UIViewController) -> CJPRootController {
        let rc = CJPRootController(rootViewController: vc)
        return rc
    }
    
    class func rootTC() -> CJPRootController {
        let tc = CJPTabBarController()
        let rc = CJPRootController(rootViewController: tc)
        return rc
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
